/**
 * 文件描述如下：
 * 1. 感知相关的 http 连接访问
 * 2.
 * 3.
 * 4.
 */

import http from '../index'

/**
 * 获取视频的播放信息
 *
 */

export const _getVideoList = () => {
  return http({
    url: `/parameter/v1/device-system/rtsp-url-list`,
    method: 'get',
  })
}

export const _getVideoIpPort = () => {
  return http({
    url: `/parameter/v1/device-system/webrtc-conf`,
    method: 'get',
  })
}

export const cameraPosition = (val) => {
  return http({
    url: `master/xml/camera-param/camera-dev-list/${val}/position-param`,
    method: 'get',
  })
}

// 获取经纬度航向角接口
export const getLongitudeAndLatitude = (val) => {
  return http({
    url: `/parameter/v1/device-system/location-info`,
    method: 'get',
  })
}
